package  com.seesmic.events
{
	/*
	Copyright 2007 SEESMIC, Inc
	Licensed under the Apache License, Version 2.0 (the "License"); 
	you may not use this file except in compliance with the License. You may obtain a copy of the License at 
	
	http://www.apache.org/licenses/LICENSE-2.0 
	
	Unless required by applicable law or agreed to in writing, 
	software distributed under the License is distributed on an 
	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
	See the License for the specific language governing permissions and limitations under the License.
	*/
	
	import flash.events.Event;
	
	public class SeesmicResultEvent extends Event
	{
		/*
		Add in all the events here 
		*/
		public static const AUTH_LOGIN:String = "AUTH_LOGIN"
		public static const AUTH_LOGOUT:String = "AUTH_LOGOUT"
		
		public static const ERROR:String = "ERROR"
		
		public static const USER_GET_PROFILE:String  = "USER_GET_PROFILE"
		public static const USER_GET_VIDEO:String = "USER_GET_VIDEO"
		public static const USER_GET_REPLIES:String = "USER_GET_REPLIES"
		public static const USER_GET_FOLLOWS:String = "USER_GET_FOLLOWS" 
		public static const USER_GET_INFO:String  ="USER_GET_INFO"
		public static const USER_IS_USERNAME_AVAILABLE:String  = "USER_IS_USERNAME_AVAILABLE"
		public static const USER_REGISTER:String = "USER_REGISTER"
		public static const USER_REGISTER_NETWORK:String = "USER_REGISTER_NETWORK"
		public static const USER_EDIT_NETWORK:String ="USER_EDIT_NETWORK"
		public static const USER_RESET_PASSWORD:String = "USER_RESET_PASSWORD"
		public static const USER_FIND_USER:String = "USER_FIND_USER"
		public static const USER_ACTIVATE_ACCOUNT:String = "USER_ACTIVATE_ACCOUNT"
		
		public static const VIDEOS_PUBLIC:String = "VIDEOS_PUBLIC"
		public static const VIDEOS_GET_INFO:String = "VIDEOS_GET_INFO";
		public static const VIDEOS_GET_TOKEN:String = "VIDEOS_GET_TOKEN"
		public static const VIDEOS_POST_VIDEO:String = "VIDEOS_POST_VIDEO"
		
		public static const USER_GET_FOLLOWS_VIDEO:String = "USER_GET_FOLLOWS_VIDEO"
		public static const USER_GET_FOLLOWERS_VIDEO:String = "USER_GET_FOLLOWERS_VIDEO"
		 
		public static const THREADS_GET_THREADS:String = "THREADS_GET_THREADS"
		
		public static const RECORDING_START_RECORD:String = "RECORDING_START_RECORD"
		public static const RECORDING_STOP_RECORD:String = "RECORDING_STOP_RECORD"
		public static const RECORDING_TIMER:String = "RECORDING_TIMER"
		public static const RECORDING_MINIMUM_TIME:String = "RECORDING_MINIMUM_TIME"
		public static const RECORDING_RECORDED_VIDEO_META_DATA:String = "RECORDING_RECORDED_VIDEO_META_DATA"
		public static const RECORDING_SAVE_CURRENT_VIDEO:String = "RECORDING_SAVE_CURRENT_VIDEO"
		
		public var data:*;
		public var success:Boolean = true;
		public var reason:String
		public function SeesmicResultEvent(type:String, data:* = null, success:Boolean = true, reason:String = null)
		{
			super(type, true, false);
			this.data = data
			this.success = success
			this.reason = reason
		}
		

	}
}